package cn.edu.wynu.springbootlearn.bean;

public class Movie {
    Integer id;
    String movieName;
    String country;
    String duration;
    String releaseDate;
    String rating;

    @Override
    public String toString() {
        return "Movie{" +
                "id=" + id +
                ", movieName='" + movieName + '\'' +
                ", country='" + country + '\'' +
                ", duration='" + duration + '\'' +
                ", releaseDate='" + releaseDate + '\'' +
                ", rating='" + rating + '\'' +
                '}';
    }

    public Movie() {
    }

    public Movie(Integer id, String movieName, String country, String duration, String releaseDate, String rating) {
        this.id = id;
        this.movieName = movieName;
        this.country = country;
        this.duration = duration;
        this.releaseDate = releaseDate;
        this.rating = rating;
    }

    public Integer getId() {
        return id;
    }

    public String getMovieName() {
        return movieName;
    }

    public String getCountry() {
        return country;
    }

    public String getDuration() {
        return duration;
    }

    public String getReleaseDate() {
        return releaseDate;
    }

    public String getRating() {
        return rating;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public void setMovieName(String movieName) {
        this.movieName = movieName;
    }

    public void setCountry(String country) {
        this.country = country;
    }

    public void setDuration(String duration) {
        this.duration = duration;
    }

    public void setReleaseDate(String releaseDate) {
        this.releaseDate = releaseDate;
    }

    public void setRating(String rating) {
        this.rating = rating;
    }
}
